package com.zhangtai.modules.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;


@Data
public class DimissionSettlemntVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    @NotNull(message = "离职申请结算id不能为空")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long id;
    /**
     * 流程编号
     */
    @ApiModelProperty(value = "流程编号", required = false)
    private String processNumber;
    /**
     * 申请人id
     */
    @ApiModelProperty(value = "申请人id", required = false)
    private Long applyOid;
    /**
     * 申请人code
     */
    @NotNull(message = "申请人code不能为空")
    @ApiModelProperty(value = "申请人code", required = false)
    private String applyCode;
    /**
     * 申请人时间
     */
    @ApiModelProperty(value = "申请人时间", required = false)
    private String applyTime;
    /**
     * 申请人名字
     */
    @ApiModelProperty(value = "申请人名字", required = false)
    private String applyName;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id", required = false)
    private Long applyDepId;
    /**
     * 部门
     */
    @ApiModelProperty(value = "部门", required = false)
    private String applyDepartment;

    /**
     * 离职申请id
     */
    @ApiModelProperty(value = "离职申请id", required = false)
    private Long dimissionId;

    /**
     * 离职原因
     */
    @ApiModelProperty(value = "离职原因", required = false)
    private String remark;
    /**
     * 附件路径
     */
    @ApiModelProperty(value = "附件路径", required = false)
    private String urlIds;

    /**
     * 附件路径
     */
    @ApiModelProperty(value = "附件路径", required = false)
    private ArrayList<String> urlIdsList;



}
